"use strict";

const Controller = require("egg").Controller;

class HomeController extends Controller {
    async index() {
        const { ctx } = this;
        ctx.body = "hi, egg";
    }

    async apidoc() {
        const { ctx } = this;
        ctx.redirect("/apidoc/index.html");
    }

}

module.exports = HomeController;
